package com.snda.storage.service.sdk.xml;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import org.joda.time.DateTime;

/**
 * 
 * @author wangzijian
 * 
 */
@XmlRootElement(name = "Error")
public class RequestTimeTooSkewedError extends Error {

	@XmlElement(name = "RequestTime")
	@XmlJavaTypeAdapter(DateTimeAdapter.class)
	private DateTime requestTime;

	@XmlElement(name = "ServerTime")
	@XmlJavaTypeAdapter(DateTimeAdapter.class)
	private DateTime serverTime;

	public DateTime getRequestTime() {
		return requestTime;
	}

	public void setRequestTime(DateTime requestTime) {
		this.requestTime = requestTime;
	}

	public DateTime getServerTime() {
		return serverTime;
	}

	public void setServerTime(DateTime serverTime) {
		this.serverTime = serverTime;
	}

}
